package com.rectcircle.scalatrateset

import com.rectcircle.scalatrateset.controller.MainServlet
import org.scalatra.test.specs2.MutableScalatraSpec

/**
  * @author Rectcircle
  *         createTime 2017/1/8
  */
class MainServletSpecUnit extends MutableScalatraSpec{
	addServlet(classOf[MainServlet], "/*")
	
	"GET / on MainServlet" should {
		"return status 403" in {
			get("/") {
				status must_== 403
			}
		}
	}
}
